package com.gxa.p2p.service;

import com.gxa.p2p.common.exception.MyException;
import com.gxa.p2p.pojo.Agreement;

import java.util.List;
import java.util.Map;

public interface AgreementService {
    List<Agreement> selecctAll(Integer page, Integer size);
    void add(Agreement agreement) throws MyException;
    void update(Long aid,Boolean astate) throws MyException;
    Agreement selectById(Long aid);
    List<Agreement> selectAllData();
}
